From: Carlos Garnacho Date: Tue, 25 Jan 2022 10:48:55 +0000 (+0100) Subject: loginDialog: Perform grab on the stage actor X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~184 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3a77d78b424b46817fa6d3c64658ffde0339cb62;p=gnome-shell.git loginDialog: Perform grab on the stage actor Despite this grab happening in the dialog, we are also interested in things happening outside of it. Move this grab to happen in the stage itself, so the changed grab semantics don't make it impossible to interact with parts of the login screen. Part-of: --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 802c7c260..6c5018006 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1289,7 +1289,7 @@ var LoginDialog = GObject.registerClass({ this.opacity = 0; - Main.pushModal(this, { actionMode: Shell.ActionMode.LOGIN_SCREEN }); + Main.pushModal(global.stage, { actionMode: Shell.ActionMode.LOGIN_SCREEN }); this.ease({ opacity: 255, @@ -1301,7 +1301,7 @@ var LoginDialog = GObject.registerClass({ } close() { - Main.popModal(this); + Main.popModal(global.stage); Main.ctrlAltTabManager.removeGroup(this); }